.pager {
  list-style: none;
  width: 100%;
  display: flex;
  justify-content: center;

  > li {
    min-width: 30px;
    height: 30px;
    background-color: var(--card_bg);
    border-radius: 5px;
    transition: all 0.3s;
    margin-right: 10px;

    &:last-child {
      margin-right: 0;
    }

    a {
      width: 100%;
      height: 100%;
      justify-content: center;
      align-items: center;
      display: inline-flex;
      padding: 0 10px;
    }

    &:hover {
      background-color: var(--active);

      a {
        color: white;
      }
    }
  }

  > li.active {
    background-color: var(--active);

    a {
      color: var(--card_bg);
    }
  }
}